package jucTest;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

@Data

@AllArgsConstructor
public class User {
    private int age;
    private String name;

    @Override
    public String toString() {
        return "User{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }

}
